package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysNoticeReceive;
import com.ruoyi.system.mapper.SysNoticeReceiveMapper;
import com.ruoyi.system.service.ISysNoticeReceiveService;
import com.ruoyi.system.service.ISysNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LongJunJiang
 * @create 2022-08-22-14:24
 */
@Service
public class SysNoticeReceiveServiceImpl implements ISysNoticeReceiveService {

    @Autowired
    private SysNoticeReceiveMapper noticeReceiveMapper;

    @Override
    public int insertNoticeReceive(SysNoticeReceive sysNoticeReceive) {
        return noticeReceiveMapper.insertNoticeReceive(sysNoticeReceive);
    }

    @Override
    public int deleteNoticeReceiveByNoticeId(Long noticeId) {
        return noticeReceiveMapper.deleteNoticeReceiveByNoticeId(noticeId);
    }

}
